import { Global, Module } from '@nestjs/common';
import { MinioService } from './minio.service';

@Global()
@Module({
  providers: [MinioService],
  exports: [MinioService],
})
export class MinioModule {
  // configure(consumer: MiddlewareConsumer) {
  //   consumer.apply(UploadMiddleware).forRoutes('upload/minio');
  // }
}
